<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
<form action="/regist">
  <h1>注册</h1>
  <label for="">账号:</label>
  <input name="user" type="text" placeholder="请输入用户名">
  <br>
  <label for="">密码:</label>
  <input name="psw" type="password" placeholder="请输入密码">
  <br>
  <input type="submit" value="注册">
  </form>
  <br>
  <br>
  <form action="/login" method="POST">
  <h1>登录</h1>
  <label for="">账号:</label>
  <input name="user" type="text" placeholder="请输入用户名">
  <br>
  <label for="">密码:</label>
  <input type="password" name="password" placeholder="请输入密码">
  <br>
  <input type="submit" value="登录">
  </form>  
</body>
</html>